﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._wangweihao
{
    /// <summary>
    /// 库区表
    /// </summary>
    public class StorageLocation : Entity<int>
    {

        /// <summary>
        /// 仓库表_仓库ID
        /// </summary>
        public int? WmWarehouseId { get; set; }

        /// <summary>
        /// 库区编号
        /// </summary>
        [StringLength(64)]
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        [StringLength(255)]
        public string? LocationName { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        [StringLength(500)]
        public string? WarehouseId { get; set; }

        /// <summary>
        /// 库区面积
        /// </summary>
        public double? Area { get; set; }

        /// <summary>
        /// 是否开启库位管理
        /// </summary>
        [StringLength(1)]
        public string? AreaFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
